//
//  XSTDiscoveryViewController.swift
//  微博项目
//
//  Created by XISHAN on 16/3/2.
//  Copyright © 2016年 XISHAN. All rights reserved.
//

import UIKit

class XSDiscoveryViewController: XSVistorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        if !isLogin{
            vistorView.setPageInformation("visitordiscover_image_message" , infor: "背影独怜深月夜,踏花同惜少年春")
            return
        }
        setupUI()
    }

    private func setupUI() {
    
        let searchView = XSDiscoverSearchView.discoverSearchView()
    
        searchView.frame.size.width = UIScreen.mainScreen().bounds.width
    
        navigationItem.titleView = searchView
    
    }
    
}
    
